package com.lyf.shop;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;

@SpringBootApplication
public class ShopApplication {
    private static Logger logger = LoggerFactory.getLogger(ShopApplication.class);

    public static void main(String[] args) {
        if(logger.isDebugEnabled()) {
            logger.debug("SpringBoot starting...");
            logger.info("阿阿阿阿阿阿");
        }
        SpringApplication.run(ShopApplication.class, args);
    }
}
